/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataStructures;

import java.util.ArrayList;
import java.util.Date;
import javax.xml.bind.annotation.XmlSeeAlso;

/**
 *
 * @author Manuel
 */

@XmlSeeAlso({ChangedPath.class})
public class Log {

    private String author;
    private ArrayList<ChangedPath> changedPaths;
    private Date date;
    private String message;
    private long revision;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public ChangedPath getChangedPath(int i) {
        return changedPaths.get(i);
    }

    public void setChangedPaths(ArrayList<ChangedPath> changedPaths) {
        this.changedPaths = changedPaths;
    }

    public void addChangedPath(ChangedPath ch){
        this.changedPaths.add(ch);
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public long getRevision() {
        return revision;
    }

    public void setRevision(long revision) {
        this.revision = revision;
    }

    public ArrayList<ChangedPath> getChangedPaths() {
        return changedPaths;
    }

   

}
